#include "PyrUp.h"
#include "../utils/Logger.h"

PyrUp::PyrUp() {
}

PyrUp::~PyrUp() {
}

IplImage* PyrUp::apply(const IplImage* in) {
    Log << "Applying pyr up effect." << endl;
    IplImage *out = cvCreateImage(cvSize(in->width*2, in->height*2), in->depth, in->nChannels);
    cvPyrUp(in, out);
    return out;
}
